package appapi.entity.esdto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;

/**
 * @version 1.0
 * @author: lc
 * @date: 2021/6/22 17:11
 */
@Data
public class ESRecharge {
    //    [{'accountType':'0','cardNumber':'13658162100','consumerId':2,'freeAmount':12.34,'projId':2,'rechargeAmount':100.0,'rechargeChannel':'支付宝',
//    'rechargeDate':1587556268336,'rechargeTypeId':101,'rechargeType':'现金充值','staffId':11}]
    @ApiModelProperty(value = "账户类型 0-水控主钱包")
    private String accountType;
    @ApiModelProperty(value = "消费发生的手机号码或卡号")
    private String cardNumber;
    @ApiModelProperty(value = "商户ID")
    private Long consumerId;
    @ApiModelProperty(value = "赠送金额")
    private BigDecimal freeAmount;
    @ApiModelProperty(value = "所在项目ID")
    private Long projId;
    @ApiModelProperty(value = "充值金额")
    private BigDecimal rechargeAmount;
    @ApiModelProperty(value = "充值渠道")
    private String rechargeChannel;
    @ApiModelProperty(value = "充值日期")
    private String rechargeDate;
    @ApiModelProperty(value = "充值类型ID：使用xf_tradetype表中的trad_key")
    private Integer rechargeTypeId;
    @ApiModelProperty(value = "充值类型")
    private String rechargeType;
    @ApiModelProperty(value = "充值人员ID")
    private String staffId;

}